package nc.ui.test.matreqbill;



import pri.logic.spring.StaticBean;
import nc.spring.bill.manage.ManageCtrl;
import nc.spring.bill.manage.ManageUI;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.manage.ManageEventHandler;

public class ClientUI extends ManageUI{
	public ClientUI(){
		super();
	}

	@Override
	protected AbstractManageController createController(){
		nc.spring.bill.manage.ManageCtrl ctrl=(ManageCtrl)StaticBean.getSpringFactory().getBean("MatreqbillCtrl");
		return ctrl;
	}

	@Override
	protected ManageEventHandler createEventHandler(){
		MatreqbillPlugin plugin=(MatreqbillPlugin)StaticBean.getSpringFactory().getBean("MatreqbillPlugin");
		return new nc.spring.bill.manage.ManageHander(this,getUIControl(),plugin);
	}

}
